package write;

import com.alibaba.excel.annotation.ExcelProperty;

import java.util.Date;

/**
 * @ClassName IndexData
 * @Description
 * @Author zhengjiang(99514925 @ qq.com)
 * @Date 2020-06-05 11:19
 * @Version V1.0
 **/
public class IndexData {
    @ExcelProperty(value = "字符串标题", index = 0)
    private String string;
    @ExcelProperty(value = "日期标题", index = 1)
    private Date date;
    /**
     * 这里设置3 会导致第二列空的
     */
    @ExcelProperty(value = "数字标题", index = 3)
    private Double doubleData;
}
